#ifndef __AP3216C_H
#define __AP3216C_H
#include "i2c.h"
#include "myi2c.h"
#define AP3216C_ADDR    0X3C 
#define address_w       AP3216C_ADDR | 0X00
#define address_r       AP3216C_ADDR | 0X01
uint8_t ap3216c_init(void);
uint8_t ap3216c_write_one_byte(uint8_t reg, uint8_t data);
void ap3216c_read_data(uint16_t *ir, uint16_t *ps, uint16_t *als);
uint8_t ap3216c_read_one_byte(uint8_t);

#endif